//import java.io.IOException;
//import java.security.NoSuchProviderException;
//import java.security.Security;
//
//public class PgpTools
//{
//    public void decryptFile(String secretasc, String password, String decryFile, String decryedFile)
//            throws IOException, NoSuchProviderException
//    {
//        Security.addProvider(new BouncyCastleProvider());
//        OpenPGPUtil.decryptFile(decryFile, secretasc, password.toCharArray(), decryedFile);
//    }
//
//    public void encryptFile(String publicasc, String encrypFile, String outFile)
//            throws NoSuchProviderException, IOException, PGPException
//    {
//        Security.addProvider(new BouncyCastleProvider());
//        OpenPGPUtil.encryptFile(outFile, encrypFile, publicasc, false, true);
//    }
//}

